#include "mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QWidget(parent)
{
    setWindowTitle("Uporotaang shooter");

    QHBoxLayout *mainLayout = new QHBoxLayout();

    QVBoxLayout *rightLayout = new QVBoxLayout();

    m_score = 0;

    m_scoreLabel = new QLabel(tr("0"), this);
    rightLayout->addWidget(m_scoreLabe, 0, Qt::AlignHCenter);

    m_startButton = new QPushButton(tr("Start"));
    rightLayout->addWidget(m_startButton, 0, Qt::AlignHCenter);

    m_game = new Game();

    mainLayout->addWidget(m_game);
    mainLayout->addLayout(rightLayout);
}

MainWindow::~MainWindow()
{

}
